#ifndef THREAD_H
#define THREAD_H
#include<QThread>
#include <QObject>

class Thread : public QThread
{
    Q_OBJECT
public:
    explicit Thread();
    ~Thread();
    void run (void);

    void func1(void);
    void func2(void);
    void set_choose(int val);
signals:

public slots:
private:
    int choose;
};

#endif // THREAD_H
